<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
<title>TB_Parcial</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="css/bootstrap-3.2.0.css" rel="stylesheet">
<link href="css/bootstrap-theme-3.2.0.css" rel="stylesheet">
<link href="css/offcanvas.css" rel="stylesheet">
<script src="js/jquery-1.10.2.js"></script>
<script src="js/bootstrap-3.2.0.js"></script>
<script type="text/javascript">
	function irMantenimientoJuego(){
		var txtAction = document.getElementById("menuAccion");
		var btnAction = document.getElementById("accion");
		
		txtAction.value = 'juego';
		btnAction.click();
	}
	
	function irPaginaPrincipalOferta(){
		var txtAction = document.getElementById("menuAccion");
		var btnAction = document.getElementById("accion");
		
		txtAction.value = 'oferta';
		btnAction.click();
	}
</script>
</head>
<body>

	<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
		<div class="container">
			<!-- Brand and toggle get grouped for better mobile display -->
			<div class="navbar-header">
				<button type="button" class="navbar-toggle" data-toggle="collapse"
					data-target="#bs-example-navbar-collapse-1">
					<span class="sr-only">Toggle navigation</span> <span
						class="icon-bar"></span> <span class="icon-bar"></span> <span
						class="icon-bar"></span>
				</button>
				<a class="navbar-brand" href="#">Sistema Entrenimiento</a>
			</div>
			<!-- Collect the nav links, forms, and other content for toggling -->
			<div class="collapse navbar-collapse"
				id="bs-example-navbar-collapse-1">
				<ul class="nav navbar-nav">
					<li><a onclick="javascript:irMantenimientoJuego()" href="#">Mantenimiento Juegos</a></li>
					<li><a onclick="javascript:irPaginaPrincipalOferta()" href="#">Pagina Responsable Familia</a></li>
				</ul>
			</div>
		</div>
	</nav>

	<div class="container">
		<div class="jumbotron">
			<h1>Pagina Administrador</h1>
			<p></p>
		</div>
		<div>
			<form action="MenuServlet" method="post">
				<input type="hidden" id="menuAccion" name="menuAccion" />
				<input type="submit" id="accion" value="Accion" style="display: none;"/>
			</form>
		</div>
	</div>

</body>
</html>
